<?php include("inc/global.inc");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>简单搜索-三帝招聘网</title>
<link href="css/body.css" rel="stylesheet" type="text/css"/>
<link href="css/link.css" rel="stylesheet" type="text/css"/>
<link href="css/head1.css" rel="stylesheet" type="text/css"/>
<link href="css/search1.css" rel="stylesheet" type="text/css"/>
<link href="css/foot.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://www.sandib2b.cn/js/job_class.js" charset="gb2312"></script>
<script language="javascript" src="http://www.sandib2b.cn/js/city.js" type="text/javascript" charset="gb2312"></script>
</head>
<body>
<?php include("inc/top.php"); ?>
<div class="menuBox1">
<a href="search.php" class="hover">简单搜索</a>
<a href="advanced_search.php" style="text-decoration:underline">高级搜索</a>
<div class="onl"></div>
</div>
<div id="mian">
  <div id="box">
  <div class="JobBox sideyellow backyellow">
<div class="mian_Co">
  <div class="title size14 topside6"><strong>简单搜索</strong></div>
  <table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="table">
        <form id="form1" name="form1" method="get" action="jobs.php" target="_blank">
          <tbody>
            <tr>
              <td width="19%" align="right">职位类别：</td>
              <td colspan="2" align="left" style="padding-left:5px;"><select name="job_class" id="job_class" onChange="changejobtype(document.form1.job_class.options[document.form1.job_class.selectedIndex].value)" style="width:160px;">
                              <option value="">选择、修改</option>
							  <?php
							     $rs=@mysql_query("select * from job_class  where j_c_id=0");
								 while($row=@mysql_fetch_array($rs)){
							  ?><option value="<?=$row['id']?>"><?=$row[j_c_name]?></option>
							  <?php }?>
                          </select>&nbsp;<select name="job_smill" id="job_smill" style="width:160px;">
                              <option value="">选择、修改</option>
						  </select></td>
              </tr>
            <tr>
              <td align="right">工作地点：</td>
              <td width="28%" align="left" style="padding-left:5px;"><select  name="c_provinces4" id="c_provinces4" onChange="changecity4(document.form1.c_provinces4.options[document.form1.c_provinces4.selectedIndex].value)">
            <option value="">省份</option>
          <?php
          $result = mysql_query("select * from city where city_id=0");    
          while($res = mysql_fetch_array($result)){    
          ?>    
          <option value="<?=$res['id']?>" <?php if($p_row[p_qw_pro_id]==$res[id]){echo "selected";}?>><?=$res['city_name']?></option> 
          <?php }?>   
       </select>
       <select name="c_city4" id="c_city4" onChange="changecity5(document.form1.c_city4.options[document.form1.c_city4.selectedIndex].value)">
            <option value="">城市</option>
       </select>
	   <select name="c_diqu4" id="c_diqu4" style="width:74px;">
            <option value="">地区</option>
       </select></td>
              <td width="53%" align="left" style="padding-left:5px;">行业类别：
                <select name="job_hy" id="job_hy" style="width:200px;">
                  <option value="">选择、修改</option>
                  <?php
							     $rs=@mysql_query("select * from job_hy where job_hy_id=0");
								 while($row=@mysql_fetch_array($rs)){
							  ?>
                  <option value="<?=$row['id']?>">
                  <?=$row[job_hy_name]?>
                  </option>
                  <?php }?>
                </select></td>
            </tr>
            <tr>
              <td align="right">发布日期：</td>
              <td style="padding-left:5px;"><select name="job_date" style="width:200px;">
                <option value="0">不限</option>
                <option value="1">近1天</option>
                <option value="3">近3天</option>
                <option value="7">近7天</option>
                <option value="15">近15天</option>
                <option value="20">近20天</option>
                <option value="30">近30天 </option>
              </select></td>
              <td style="padding-left:5px;">关&nbsp;键&nbsp;字&nbsp;：
                <input type="text" name="keyword" style="width:200px;" onfocus="this.value=''" value="输入公司/职位关键字" /></td>
            </tr>
            <tr>
              <td align="right">&nbsp;</td>
              <td colspan="2" style="padding-left:5px;"><input name="submit" type="submit" value="搜索" /></td>
              </tr>
          </tbody>
        </form>
      </table>
  </div>
  </div>
<div class="onl"></div>

<div class="JobBox sideyellow backyellow topside6">
<div class="mian_Co">
  <div class="title size14 topside6"><strong>按行业搜索</strong><strong>职位</strong></div>
  <table width="100%" cellpadding="7" cellspacing="1" bgcolor="#FFF5EC">
     <tr>
  <?php
	$rs=@mysql_query("select * from job_hy where job_hy_id=0");
	$i=1;
	while($row=@mysql_fetch_array($rs)){
 ?> 
      <td width="25%" bgcolor="#FFFFFF"><a href="jobs.php?job_hy=<?=$row['id']?>" target="_blank"><?=$row[job_hy_name]?></a></td>
 <?php
  if($i%3===0) echo '</tr><tr>';
  $i++;
  next($row);}
?>
    <td width="25%" bgcolor="#FFFFFF"></td></tr>
  </table>
</div>
</div>
<div class="onl"></div>
</div>
<div class="onl"></div>
</div>
<?php include("inc/foot.php");?>

</BODY>
</HTML>

